package org.example.projecttwo.entity.dto.content.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "批量操作DTO，用于批量删除、批量下架等操作")
public class BatchOperationDTO {

    @NotEmpty(message = "ID列表不能为空")
    @Schema(description = "操作对象ID列表", example = "[1,2,3]")
    private List<Long> ids;

    @NotNull(message = "操作原因不能为空")
    @Schema(description = "操作原因：1-内容违规，2-内容过时，3-作者申请，4-其他原因", example = "1")
    private Integer reason;

    @Schema(description = "操作备注说明", example = "内容涉及敏感信息")
    private String remark;
}